<?php
include '../pkj/all.php';

function init () {
    notice ( "Seja Bem Vindo ao PKJ" , "ok" );
}

function mostrar () {
    notice ( "DADOS = " . json_encode ( $_POST ) , "ok" );
}
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <?php
        import ( "jquery" );
        import ( "tema" );
        import ( "bind" );
        ?>
    </head>
    <body>
        <form>
            <?php
            echo div ( label ( "Nome" ) , 1 );
            echo div ( text ( "nome" ) , 2 );
            echo div ( label ( "Sexo" ) , 1 );
            echo div ( combo ( "sexo" , ["Masculino" , "Feminino" ] ) , 2 );
            echo div ( button ( "b1" , "OK" , "click=mostrar() lock") , 6 );
            ?>
        </form>
    </body>
</html>
